package com.dhemery.mack.adapters;

import com.dhemery.mack.model.Folder;

public class FolderInformationProvider extends NodeInformationProvider {

	public FolderInformationProvider(NodeImageDescriptorFactory imageDescriptorFactory) {
		super(imageDescriptorFactory);
	}

	@Override
	public Object[] getChildren(Object folder) {
		return ((Folder)folder).getNodes().toArray();
	}
}
